package com.apestech.framework.xml.pub;

import com.apestech.framework.json.JSONArray;
import com.apestech.framework.json.JSONObject;

/**
 * XML文件解析相关内部所属数据
 * @author hupo
 *
 */
public class XmlDataModel {
	
	private String xmlHead="<?sql version=\"1.0\" encoding=\"UTF-8\"?>";
	private String xmlRootHead="<YuanYuanSoftware>";
	private String xmlRootTail="</YuanYuanSoftware>";
	private String xmlVersion="1.1710.30.0";
	private String xmlType;
	private String xmlFieldName;
	private Boolean hasHead=false;
	private String xmlString;
	private String xmlKey="YuanYuanSoftware";
	private String rootName;
	private JSONArray nodeList;
	private JSONObject node;
	
	public Boolean getHasHead() {
		return hasHead;
	}
	public void setHasHead(Boolean hasHead) {
		this.hasHead = hasHead;
	}
	public String getRootName() {
		return rootName;
	}
	public void setRootName(String rootName) {
		this.rootName = rootName;
	}
	public JSONArray getNodeList() {
		if(nodeList==null){
			nodeList=new JSONArray();
		}
		return nodeList;
	}
	public void setNodeList(JSONArray nodeList) {
		this.nodeList = nodeList;
	}
	public JSONObject getNode() {
		if(node==null){
			node=new JSONObject();
		}
		return node;
	}
	public void setNode(JSONObject node) {
		this.node = node;
	}
	public String getXmlHead() {
		return xmlHead;
	}
	public void setXmlHead(String xmlHead) {
		this.xmlHead = xmlHead;
	}
	public String getXmlRootHead() {
		return xmlRootHead;
	}
	public void setXmlRootHead(String xmlRootHead) {
		this.xmlRootHead = xmlRootHead;
	}
	public String getXmlRootTail() {
		return xmlRootTail;
	}
	public void setXmlRootTail(String xmlRootTail) {
		this.xmlRootTail = xmlRootTail;
	}
	public String getXmlVersion() {
		return xmlVersion;
	}
	public void setXmlVersion(String xmlVersion) {
		this.xmlVersion = xmlVersion;
	}
	public String getXmlType() {
		return xmlType;
	}
	public void setXmlType(String xmlType) {
		this.xmlType = xmlType;
	}
	public String getXmlFieldName() {
		return xmlFieldName;
	}
	public void setXmlFieldName(String xmlFieldName) {
		this.xmlFieldName = xmlFieldName;
	}
	public String getXmlString() {
		return xmlString;
	}
	public void setXmlString(String xmlString) {
		this.xmlString = xmlString;
	}
	public String getXmlKey() {
		return xmlKey;
	}
	public void setXmlKey(String xmlKey) {
		this.xmlKey = xmlKey;
	}
	
	
}
